package com.four.hospital.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.four.hospital.entity.Hospital;
import com.four.hospital.vo.HospitalVo;

import java.util.List;

/**
 * @Author:luojie
 * @Date: 2022/01/05/18:39
 * @Description
 */
public interface HospitalService {

    /**
     * 医院分页模糊查
     * @param page
     * @param size
     * @param vo
     * @return
     */
    IPage<Hospital> hospitalList(Integer page, Integer size, HospitalVo vo);

    /**
     * 输入医院名称查询医院信息
     * @param hosName
     * @return
     */
    List<Hospital> getHospitalByName(String hosName);
}
